body {
    font-size: 12px;
    font-family: "Microsoft YaHei", tahoma, arial, "Hiragino Sans GB", "\5b8b\4f53", sans-serif;
}

.topbar {
    background-color: #f2f2f2;
    .topbarinner {
        width: 1200px;
        margin: 0 auto;
        height: 30px;
        position: relative;
    }
    /*登陆*/
    .userLogin {
        font-family: "宋体";
        font-size: 12px;
        line-height: 30px;
        float: left;
        b {
            margin-right: 7px;
        }
        span {
            color: #e9dddd;
            margin: 12px;
        }
        a {
            color: #e60000;
            &:hover {
                text-decoration: underline;
            }
        }
    }
    /*右侧购物车信息等*/
    .userTool {
        float: right;
        font-size: 12px;
        font-family: "宋体";
        height: 31px;
        li {
            float: left;
            position: relative;
            .dt {
                line-height: 29px;
                display: block;
                height: 29px;
                padding: 0 16px 0 16px;
                border: 1px solid #f2f2f2;
                border-bottom: none;
                position: relative;
            }
            i {
                width: 8px;
                height: 4px;
                left: 68px;
                top: 12px;
                background: url(../../images/homeindex.png) 0 0 no-repeat;
                //              background-color: red;
                position: absolute;
            }
            a {
                color: #000;
                &:hover {
                    color: #e70b1c;
                    text-decoration: underline;
                }
            }
        }
        .drop .dt {
            padding: 0 26px 0 16px;
            position: relative;
            z-index: 1000;
        }
        .drop:hover .dt {
            background-color: #fff;
            border: 1px solid #dadada;
            border-bottom: 1px solid #fff;
            &:hover i {
                background: url(../../images/homeindex.png) 0 -4px no-repeat;
            }
        }
        .drop:hover .dropLayer {
            display: block;
        }
    }
}

.userTool .drop .dropLayer {
    display: none;
    width: 162px;
    box-shadow: 1px 2px 1px rgba(0, 0, 0, .1);
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 29px;
    padding-left: 12px;
    border: 1px solid #dadada;
    //   border-top: 0;
    z-index: 999;
    a {
        margin-left: 4px;
        display: block;
        float: left;
        width: 72px;
        color: #666;
        line-height: 24px;
        margin-bottom: 6px;
        font-family: "宋体";
    }
}

.userTool .drop .dropLayer {
    .erweimaWrap {
        float: left;
        padding-top: 9px;
        .erweima {
            float: left;
        }
        .text {
            float: left;
            margin-left: 9px;
            b {
                display: block;
                color: #e60000;
                margin-top: 5px;
            }
            span {
                padding-top: 9px;
                display: block;
            }
        }
    }
}

.loginBar {
    border-bottom: 2px solid #e60000;
    background-color: #fff;
    .loginBarInner {
        margin: 0 auto;
        width: 1000px;
        overflow: hidden;
        .logo {
            padding: 22px 0px;
            float: left;
            h1 {
                height: 47px;
                overflow: hidden;
                text-align: left;
                a {
                    img {
                        border: 0;
                        vertical-align: middle;
                    }
                }
            }
        }
        .ad {
            padding: 27px 0px;
            height: 36px;
            line-height: 36px;
            float: right;
            .zhengban {
                background-position: left;
            }
            .liujiu {
                background-position: -141px center;
            }
            .yizhe {
                background-position: -289px center;
                margin-right: 0px;
            }
            span {
                float: left;
                color: #1a1a1a;
                font-size: 12px;
                background: url(../../loginRegisterImages/promiseAd.png) no-repeat left;
                padding-left: 49px;
                margin-right: 33px;
            }
        }
    }
}

.content {
    .contentInner {
        width: 1000px;
        margin: 0 auto;
    }
    .empty_cart.show {
        display: block;
    }
    .empty_cart {
        display: none;
        .tabShoppCar {
            margin-top: 34px;
            .carTab {
                float: left;
                ul {
                    li.cur {
                        border-bottom: 3px solid #e60000;
                        a {
                            color: #e60000;
                        }
                    }
                    li {
                        float: left;
                        line-height: 30px;
                        margin: 0 25px 0 5px;
                        border-bottom: 3px solid #ffffff;
                        a {
                            color: #333333;
                            font-family: 'Microsoft YaHei';
                            font-size: 18px;
                            display: block;
                            height: 30px;
                            text-decoration: none;
                        }
                    }
                }
            }
        }
        .cartEmpty {
            padding: 80px 0px 120px;
            .emptyIcon {
                background: url(../../detailImgs/carSprites.png) no-repeat left -222px;
                float: left;
                width: 89px;
                height: 70px;
                margin-left: 252px;
            }
            .emptyText {
                padding-left: 30px;
                float: left;
                width: 629px;
                font-size: 14px;
                span {
                    display: block;
                    margin: 14px 0px 5px 0px;
                }
                a {
                    color: #1754a4;
                }
            }
        }
    }
    .full_car.show {
        display: block;
    }
    .full_car {
        display: none;
        .shoppingProcedure {
            width: 617px;
            height: 36px;
            line-height: 36px;
            overflow: hidden;
            background: url(../../detailImgs/shoppingProcedure.png) no-repeat left center;
            margin: 28px 0px 0;
            span.current {
                color: #fff;
            }
            span {
                float: left;
                width: 185px;
                height: 36px;
                color: #666;
                font-size: 14px;
                text-align: center;
                padding: 0px 0px 0px 20px;
            }
        }
        .tabShoppCar {
            margin-top: 34px;
            .carTab {
                float: left;
                li.cur {
                    border-bottom: 3px solid #e60000;
                    a {
                        color: #E60000;
                    }
                }
                li {
                    float: left;
                    line-height: 30px;
                    margin: 0 25px 0 5px;
                    border-bottom: 3px solid #ffffff;
                    a {
                        color: #333333;
                        font-family: 'Microsoft YaHei';
                        font-size: 18px;
                        display: block;
                        height: 30px;
                        text-decoration: none;
                    }
                }
            }
            .shoppingTip {
                overflow: hidden;
                float: right;
                line-height: 30px;
                strong {
                    float: left;
                    color: #e60000;
                    padding-right: 10px;
                }
                span {
                    float: left;
                    color: #666;
                    font-size: 12px;
                }
            }
        }
        .shoppingCar {
            .shoppingTitle {
                border: 1px solid #e4e4e4;
                height: 38px;
                ul {
                    overflow: hidden;
                    line-height: 38px;
                    li.f1 {
                        width: 152px;
                        overflow: hidden;
                    }
                    li.f2 {
                        width: 233px;
                    }
                    li.f3 {
                        width: 126px;
                    }
                    li.f4 {
                        width: 131px;
                    }
                    li.f5 {
                        width: 154px;
                    }
                    li.f6 {
                        width: 120px;
                    }
                    li.f7 {
                        width: 78px;
                    }
                    li {
                        overflow: hidden;
                        float: left;
                        color: #666;
                        input {
                            cursor: pointer;
                            margin: 12px 23px 0px 13px;
                            float: left;
                            height: 14px;
                            width: 14px;
                            display: block;
                            text-indent: 999px;
                            overflow: hidden;
                        }
                    }
                }
            }
            .shoppingListWrap {
                width: 1000px;
                .shoppingItem {
                    height: auto !important;
                    zoom: 1;
                    margin-top: 20px;
                    .listWrap {
                        border: 1px solid #d0d0d0;
                        .shoppingList.select {
                            background-color: #fffbf0;
                        }
                        .shoppingList {
                            padding: 16px 0px;
                            border-bottom: 1px solid #e7e7e7;
                            position: relative;
                            .fl {
                                float: left;
                            }
                            .cartCheckbox {
                                width: 50px;
                                input {
                                    margin: 36px 23px 0px 13px;
                                    float: left;
                                    height: 14px;
                                    width: 14px;
                                    text-indent: 999px;
                                    overflow: hidden;
                                    cursor: pointer;
                                }
                            }
                            .goodImg {
                                background: #fff;
                                border: 1px solid #e4e4e4;
                                height: 86px;
                                width: 86px;
                                text-align: center;
                                a {
                                    display: block;
                                    padding: 3px 0px;
                                    img {
                                        height: 80px;
                                        max-width: 80px;
                                        display: inline-block;
                                    }
                                }
                            }
                            .goodName {
                                width: 195px;
                                padding-left: 15px;
                                padding-right: 42px;
                                line-height: 20px;
                                height: 88px;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                display: table;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 2;
                                a {
                                    color: #333;
                                    display: table-cell;
                                    vertical-align: middle;
                                }
                            }
                            .goodPrice {
                                margin-top: 36px;
                                width: 128px;
                                strong {
                                    color: #666;
                                    font-size: 15px;
                                    font-weight: 400;
                                }
                            }
                            .goodSellPrice {
                                position: relative;
                                margin-top: 36px;
                                width: 76px;
                                strong {
                                    color: #666;
                                    font-size: 15px;
                                }
                            }
                            .goodQuantity {
                                padding-top: 25px;
                                padding-left: 49px;
                                width: 90px;
                                padding-right: 65px;
                                text-align: center;
                                .quantityForm {
                                    padding-top: 10px;
                                    overflow: hidden;
                                    a {
                                        text-decoration: none;
                                        float: left;
                                        height: 20px;
                                        width: 21px;
                                        line-height: 20px;
                                        text-align: center;
                                        background: #fff;
                                        border: 1px solid #d6d6d6;
                                        color: #333;
                                    }
                                    input {
                                        float: left;
                                        width: 42px;
                                        border: 1px solid #d6d6d6;
                                        line-height: 20px;
                                        border-left: none;
                                        border-right: none;
                                        text-align: center;
                                        height: 20px;
                                        vertical-align: middle;
                                        color: #333;
                                        display: block;
                                    }
                                }
                            }
                            .goodSum {
                                position: relative;
                                margin-top: 36px;
                                width: 120px;
                                strong.subtotal {
                                    color: #ff2832;
                                }
                                strong {
                                    color: #666;
                                    font-size: 15px;
                                }
                            }
                            .goodOperation {
                                padding-top: 30px;
                                line-height: 22px;
                                a {
                                    display: block;
                                    color: #333;
                                    font-family: "Microsoft YaHei", tahoma, arial, "Hiragino Sans GB", "\5b8b\4f53", sans-serif;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .shoppingfootWrap {
        width: 100%;
        margin-top: 20px;
        background: #e5e5e5;
        padding: 9px 0px;
        .shoppingfootinner {
            .shoppingFoot {
                width: 998px;
                margin: auto;
                background: #fafafa;
                height: 60px;
                .shoppingFootLeft {
                    height: 60px;
                    line-height: 60px;
                    float: left;
                    .Checkbox {
                        width: 75px;
                        color: #333;
                        float: left;
                        input {
                            margin: 23px 23px 0px 13px;
                            float: left;
                            height: 14px;
                            width: 14px;
                            text-indent: 999px;
                            overflow: hidden;
                            display: inline;
                            cursor: pointer;
                        }
                    }
                    .removeGood {
                        padding-left: 19px;
                        float: left;
                        a {
                            color: #333;
                        }
                    }
                }
                .shoppingFootRight {
                    height: 60px;
                    float: right;
                    .shoppingResult {
                        height: 60px;
                        padding-right: 30px;
                        float: left;
                        margin-top: 15px;
                        span {
                            font-size: 14px;
                            color: #e31436;
                            padding: 0px 5px;
                        }
                        .money {
                            font-size: 18px;
                            padding: 0px;
                        }
                        b {
                            color: #e31436;
                            font-size: 18px;
                        }
                    }
                    .submitBtn.cur {
                        color: #fff;
                        background: #ff2832;
                    }
                    .submitBtn {
                        cursor: pointer;
                        height: 60px;
                        line-height: 60px;
                        text-align: center;
                        width: 164px;
                        color: #fff;
                        background: #B0B0B0;
                        font-size: 22px;
                        float: left;
                        a {
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
}